﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace JustMetClient.Parts.MainParts
{
    class MyTabControl : TabControl
    {
        public MyTabControl()
        {
            this.SizeMode = TabSizeMode.Fixed;
            base.UpdateStyles();
        }

        public override Rectangle DisplayRectangle
        {
            get
            {
                Rectangle rect = base.DisplayRectangle;
                return new Rectangle(rect.Left - 5, rect.Top + 0, rect.Width + 10, rect.Height + 1);
            }
        }

    }
}